package cn.stylefeng.guns.modular.basic.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicLoadingQuotation;
import cn.stylefeng.guns.modular.basic.model.params.BasicLoadingQuotationParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicLoadingQuotationResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 装车报价表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2024-01-26
 */
public interface BasicLoadingQuotationService extends IService<BasicLoadingQuotation> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2024-01-26
     */
    void add(BasicLoadingQuotationParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2024-01-26
     */
    void delete(BasicLoadingQuotationParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2024-01-26
     */
    void update(BasicLoadingQuotationParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2024-01-26
     */
    BasicLoadingQuotationResult findBySpec(BasicLoadingQuotationParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2024-01-26
     */
    List<BasicLoadingQuotationResult> findListBySpec(BasicLoadingQuotationParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2024-01-26
     */
     LayuiPageInfo findPageBySpec(BasicLoadingQuotationParam param,String condition,Long operateId);

}
